package com.pyue.eam.regi.service.impl;


// @Service
// @AllArgsConstructor
public class AkaliServiceImpl {

    // 自动热点数据
    // @AkaliHot(grade = FlowGradeEnum.FLOW_GRADE_THREAD, count = 50, duration = 5)
    public Integer getSkuInfo(String skuCode){
        //do your biz and return sku info
        return null;
    }

    // 自动降级
    // @AkaliFallback(grade = FlowGradeEnum.FLOW_GRADE_THREAD, count = 100)
    public String sayHi(String name){
        return "hi,"+name;
    }

    public String sayHiFallback(String name){
        return "fallback str";
    }
}
